// Fill out your copyright notice in the Description page of Project Settings.


#include "CaptureCameraActor.h"

ACaptureCameraActor::ACaptureCameraActor()
{

	SceneComp = CreateDefaultSubobject<USceneCaptureComponent2D>(TEXT("SceneComp"));
	SceneComp->SetupAttachment(RootComponent);

}

void ACaptureCameraActor::Tick(float DeltaSeconds)
{
	Super::Tick(DeltaSeconds);
	DrawDebugSphere(GetWorld(), GetActorLocation(), 100.0f, 10, FColor(255, 0, 0, 255));
	DrawDebugSphere(GetWorld(), GetCameraComponent()->GetComponentLocation(), 100.0f, 10, FColor(0, 0, 255, 255));
}
